#include "Sword.h"
#include "Pen.h"

#ifdef IMPLEMENT_SWORD
Sword::Sword() : BaseObject()
{
	Init();
}

Sword::Sword(D3DXVECTOR3 P) : BaseObject()
{

	SetPosition(P);
	Init();
}
void Sword::Init()
{
	m_Type = SWORD_TYPE;
	m_Mesh = Pen::Engine()->getMeshByIndex(CHARACTER_MESH);
	m_pTexture = Pen::Engine()->getTextureByIndex(GREEN_TEXTURE);
}
#endif